//
//  FastOptExtConf.swift
//  FastV
//
//  Created by dc on 2024/6/25.
//

import UIKit

//extension String: HandyJSON {}

extension String {
    
    func decryptAES(encryptedStr: String) -> String? {
        return FastOptAes.aesOptionDecrypt(encryptedStr) as? String
    }
    
    //时间比较结果
    func dhjshekijsDsefddf() -> NSInteger {
        return FastOptAes.alertSharAnswerRealizeADatithBDate()
    }
    
    //监听
    func fastySdujhsfsswexc( block : @escaping(_ scaleData:String) -> Void){
        FastOptExMNang.baAlertSharComputNetworkBlock { typStr in
            if typStr.rawValue == 1 || typStr.rawValue == 2 {
                block("1")
            }else{
                block("2")
            }
        }
    }
    
    
    //网络请求
    func optionsdfAsejhustsase(block : @escaping(_ scaleData:String, _ optStat:String) -> Void){
        FastOptExMNang.alertSharUponHistoryData { firstStr, secStr in
            block(firstStr,secStr);
        }
    }
}
